//
//  UUIDCell.swift
//  MTBLETools
//
//  Created by 方强 on 16/11/28.
//  Copyright © 2016年 MT. All rights reserved.
//

import UIKit

class UUIDCell: UITableViewCell {
    
    static func getCell() -> UUIDCell{
        let objects = UINib(nibName: "UUIDCell", bundle: nil).instantiate(withOwner: nil, options: nil);
        let obj: AnyObject = objects[0] as AnyObject;
        
        let cell = obj as! UUIDCell;
        
        return cell;
    }

    @IBOutlet weak var uuidname_txt: UILabel!
    @IBOutlet weak var uuid_txt: UILabel!
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
    func refreshDis(value: UuidAndName){
        uuidname_txt.text = value.getName();
        uuid_txt.text = value.getUuid();
    }
    
}
